#!/usr/bin/env python
# coding: utf-8
import urllib2
from urllib2 import urlopen

if __name__ == "__main__":
    request = urllib2.Request("http://d1hm5duj6wzb3b.cloudfront.net/enemy-bike-texture/320.png?0-0")
    res = urlopen(request)
    html = res.read()
    
    with open(r"C:\Users\Administrator\Desktop\resource\320.png", "wb") as code:
        code.write(html)
    print 'end'
